#include "Cbook.h"

Magazine::Magazine(): Cbook("noname", true){}

Magazine::Magazine(const Magazine& pt): Cbook(pt.name, pt.state){}

Magazine::Magazine(std::string pt): Cbook(pt, true){}

int Magazine::get_type_book()const { return Type_Magazine; }

bool Magazine::change()
{
	state = !state;
	return true;
}

